package com.heima.wemedia.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 自媒体图文内容信息表
 * </p>
 *
 * @author HM
 * @since 2022-09-15
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @ApiModel(value="WmNews对象", description="自媒体图文内容信息表")
public class WmNews implements Serializable {


      @ApiModelProperty(value = "主键")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty(value = "自媒体用户ID")
      private Integer wmUserId;

      @ApiModelProperty(value = "标题")
      private String title;

      @ApiModelProperty(value = "图文内容")
      private String content;

      @ApiModelProperty(value = "文章布局	            0 无图文章	            1 单图文章	            3 多图文章")
      private Integer type;

      @ApiModelProperty(value = "图文频道ID")
      private Integer channelId;

    private String labels;

      @ApiModelProperty(value = "创建时间")
      private Date createdTime;

      @ApiModelProperty(value = "提交时间")
      private Date submitedTime;

      @ApiModelProperty(value = "当前状态	 0 草稿	 1 提交（待审核）	2 审核失败	 3 待人工审核	 4 人工审核通过	 ,待发布 8 审核通过（待发布）	9 已发布")
      private Integer status;

      @ApiModelProperty(value = "定时发布时间，不定时则为空")
      private Date publishTime;

      @ApiModelProperty(value = "拒绝理由")
      private String reason;

      @ApiModelProperty(value = "发布库文章ID")
      private Long articleId;

      @ApiModelProperty(value = "封面图片信息   //图片用逗号分隔")
      private String images;

      @ApiModelProperty(value = "上下架状态 0- 下架 1-上架")
      private Boolean enable;


}
